//
//  EDSVideoPreviewView.h
//  DrivieSchoolStudents
//
//  Created by TangBin on 2019/5/23.
//  Copyright © 2019 班文政. All rights reserved.
//

#import "TYZBaseView.h"
#import <AVFoundation/AVFoundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface EDSVideoPreviewView : TYZBaseView

@property (nonatomic, strong, readonly) AVPlayerItem *playerItem;

@property (nonatomic, strong, readonly) AVPlayer *player;

- (instancetype)initWithFrame:(CGRect)frame videoUrl:(NSURL *)videoUrl;


- (void)stopPlay;

@end

NS_ASSUME_NONNULL_END
